home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / editor / proged10.lha / InstallProgED / Install < prev    next >
Text File  |  1995-08-30  |  15KB  |  832 lines

  1. ;
  2. ; ProgED Installer Utility
  3. ;
  4. ; This script is Copyright ©1995 Giovanni Lambiase
  5. ;
  6.  
  7. (
  8.     ; Setup English default strings
  9.  
  10.     (set #intro
  11.         (cat
  12.             "ProgED V1.0 - All Rights Reserved.\n"
  13.             "\n"
  14.             "ProgED  ©'95 Giovanni Lambiase\n"
  15.             "Reqtools.library - Copyright Nico François\n"
  16.             "Powerpacker.library - Copyright Nico François\n"
  17.             "XpkMaster.library - Copyright Urban Dominik Müller & Bryan Ford\n"
  18.             "\n"
  19.             "ProgED is NOT 'freely distributable' but SHAREWARE.\n"
  20.             "Look at the licence file before installing ProgED.\n"
  21.             "Installing this software means\naccepting that licence.\n"
  22.             "Thank you.\n"
  23.         )
  24.     )
  25.  
  26.     (set #badkick "\n Sorry, this package requires OS v2.04 or better.\n")
  27.  
  28.     (set #askdir
  29.         (cat    "Select where you would like to install "
  30.             "ProgED. A drawer called 'ProgED' will "
  31.             "be created here."
  32.         )
  33.     )
  34.  
  35.     (set #askdir_help
  36.         (cat
  37.             "ProgED and all necessary files will be installed "
  38.             "in the directory of your choice. You may wish "
  39.             "to create a new directory for ProgED by using "
  40.             "the 'Make New Drawer' gadget.\n\n"
  41.             "You may install this version over your existing "
  42.             "version of ProgEd, but you will loose your "
  43.             "current preference settings and some of your "
  44.             "files may be overwritten with more recent "
  45.             "versions. This may be undesirable if you have "
  46.             "customised your enviroment."
  47.         )
  48.     )
  49.  
  50.     (set #overwrite    "The 'ProgED' directory already exists, overwrite?")
  51.  
  52.     (set #overwrite_help
  53.         (cat
  54.             "You may stop the install to "
  55.             "avoid overwriting your current "
  56.             "version of ProgED.\n\n"
  57.             "Continuing the install will "
  58.             "overwrite your current files "
  59.             "and you will loose your current "
  60.             "preferences."
  61.         )
  62.     )
  63.  
  64.     (set #yes "Yes")
  65.  
  66.     (set #no "No")
  67.  
  68.     (set #quit "Quit")
  69.  
  70.     (set #havemwb "Do you have MagicWB installed on your system ?")
  71.  
  72.     (set #havemsb_help
  73.         (cat
  74.             "MagicWB is an icon package by Martin Huttenloher "
  75.             "(© 1993). MagicWB icons looks 3D, 8 colors, ecc. "
  76.             "If you haven't it look at your BBS to download "
  77.             "1.2 PD version."
  78.         )
  79.     )
  80.  
  81.     (set #installed "ProgED will be installed in ")
  82.  
  83.     (set #installing "Installing ProgED Program...")
  84.  
  85.     (set #creating "Creating 'ProgED' directory")
  86.  
  87.     (set #copyingexe "Copying ProgED executable...")
  88.  
  89.     (set #copyingexeprt "Copying PED_Print executable...")
  90.  
  91.     (set #copyingman "Copying Manual...")
  92.  
  93.     (set #crticonsdir "Creating 'Icons' directory")
  94.  
  95.     (set #crtprjdir "Creating 'Projects' directory")
  96.  
  97.     (set #crtclientsdir "Creating 'Clients' directory")
  98.  
  99.     (set #crtfoldersdir "Creating 'Folders' directory")
  100.  
  101.     (set #crtscannersdir "Creating 'Scanners' directory")
  102.  
  103.     (set #crtmacrosdir "Creating 'Macros' directory")
  104.  
  105.     (set #crtcatalogsdir "Creating 'Catalogs' directory")
  106.  
  107.     (set #crtldir "Creating 'L' directory")
  108.  
  109.     (set #crtsasc "Creating 'SASC_Support' directory")
  110.  
  111.     (set #crtsources "Creating 'Sources' directory")
  112.  
  113.     (set #thanks "Thanks for registering. Supporting shareware's authors is Amiga's future!")
  114.  
  115.     (set #nokeyfile
  116.         (cat
  117.             "No keyfile was found during "
  118.             "installation. For details of how to register "
  119.             "and receive the full version, refer to the "
  120.             "documentation."
  121.         )
  122.     )
  123.  
  124.     (set #reset
  125.         (cat
  126.             "\n\nWhen this installation stops remember that you MUST "
  127.             "reset your Amiga to properly setup ProgED enviroment!"
  128.         )
  129.     )
  130.  
  131.     (set #setup1
  132.         (cat
  133.             "To properly setup ProgED I have to modify your "
  134.             "User-StartUp adding following command:\n\n"
  135.         )
  136.     )
  137.  
  138.     (set #setup2
  139.         (cat
  140.             "If you skip this pass you MUST manually enter "
  141.             "it later."
  142.         )
  143.     )
  144.  
  145.     (set #setup_help
  146.         (cat
  147.             "ProgED needs an Assign in main directory to "
  148.             "properly setup. If you skip this pass you MUST "
  149.             "manually enter it later in your User-StartUp or "
  150.             "in a shell prior to run ProgED."
  151.         )
  152.     )
  153.  
  154.     ; If language is italian then ...
  155.  
  156.     (if (= @language "italiano")
  157.     (
  158.     ; Setup Italian strings
  159.  
  160.     (set #intro
  161.         (cat
  162.             "ProgED V1.0 - All Rights Reserved.\n"
  163.             "\n"
  164.             "ProgED  ©'95 Giovanni Lambiase\n"
  165.             "Reqtools.library - Copyright Nico François\n"
  166.             "Powerpacker.library - Copyright Nico François\n"
  167.             "XpkMaster.library - Copyright Urban Dominik Müller & Bryan Ford\n"
  168.             "\n"
  169.             "ProgED NON E' 'liberamente distribuibile' ma\n"
  170.             "SHAREWARE. Leggi il file di licenza prima di\n"
  171.             "iniziare l'installazione. Installare questo\n"
  172.             " software significa accettare quella licenza.\n"
  173.             "Grazie.\n"
  174.         )
  175.     )
  176.  
  177.     (set #badkick "\n Spiacente, questo pacchetto richiede il sistema operativo OS v2.04 o superiori.\n")
  178.  
  179.     (set #askdir
  180.         (cat    "Selezione dove vuoi installare ProgED. "
  181.             "Un nuovo cassetto chiamato 'ProgED' sarà "
  182.             "creato dove specificato."
  183.         )
  184.     )
  185.  
  186.     (set #askdir_help
  187.         (cat
  188.             "ProgED e tutti i file necessari saranno installati "
  189.             "nella directory scelta. Puoi creare un nuovo cassetto "
  190.             "per ProgED usando il gadget 'Crea nuovo cassetto'.\n\n"
  191.             "Puoi installare questa versione sovrascrivendo "
  192.             "una precedente versione di ProgEd, ma perderai le "
  193.             "preferenze e qualcuno dei tuoi file sarà sovrascritto "
  194.             "con uno più recente. Questo può essere indesiderabile "
  195.             "se hai già un ambiente adattato ai tuoi gusti."
  196.         )
  197.     )
  198.  
  199.     (set #overwrite "Il cassetto 'ProgED' esiste già, lo sovrascrivo ?")
  200.  
  201.     (set #overwrite_help
  202.         (cat
  203.             "Puoi fermare l'installazione per "
  204.             "evitare la sovrascrittura della "
  205.             "versione corrente di ProgED.\n\n"
  206.             "Continuare l'installazione sovrascriverà "
  207.             "i file correnti e perderai le preferenze "
  208.             "correnti."
  209.         )
  210.     )
  211.  
  212.     (set #yes "Si")
  213.  
  214.     (set #no "No")
  215.  
  216.     (set #quit "Esci")
  217.  
  218.     (set #havemwb "Hai MagicWB installato sul tuo sistema ?")
  219.  
  220.     (set #havemsb_help
  221.         (cat
  222.             "MagicWB è un package di icone creato da Martin Huttenloher "
  223.             "(© 1993). Le icone di MagicWB sono tridimensionali, hanno "
  224.             "8 colors, ecc. Se non hai ancora installato MagicWB cerca "
  225.             "nella tua BBS la versione 1.2 PD e scaricala."
  226.         )
  227.     )
  228.  
  229.     (set #installed "ProgED sarà installato in ")
  230.  
  231.     (set #installing "Sto installando il ProgED ...")
  232.  
  233.     (set #creating "Sto creando il cassetto 'ProgED'")
  234.  
  235.     (set #copyingexe "Sto copiano l'eseguibile del ProgED ...")
  236.  
  237.     (set #copyingexeprt "Sto copiando l'eseguibile del PED_Print ...")
  238.  
  239.     (set #copyingman "Sto copiano il manuale ...")
  240.  
  241.     (set #crticonsdir "Sto creando il cassetto 'Icons'")
  242.  
  243.     (set #crtprjdir "Sto creando il cassetto 'Projects'")
  244.  
  245.     (set #crtclientsdir "Sto creando il cassetto 'Clients'")
  246.  
  247.     (set #crtfoldersdir "Sto creando il cassetto 'Folders'")
  248.  
  249.     (set #crtscannersdir "Sto creando il cassetto 'Scanners'")
  250.  
  251.     (set #crtmacrosdir "Sto creando il cassetto 'Macros'")
  252.  
  253.     (set #crtcatalogsdir "Sto creando il cassetto 'Catalogs'")
  254.  
  255.     (set #crtldir "Sto creando il cassetto 'L'")
  256.  
  257.     (set #crtsasc "Sto creando il cassetto 'SASC_Support'")
  258.  
  259.     (set #thanks "Grazie per esserti registrato. Aiutare gli autori di software shareware è il futuro di Amiga!")
  260.  
  261.     (set #nokeyfile
  262.         (cat
  263.             "Nessun keyfile trovato durante l'installazione. "
  264.             "Per i dettagli riguardo la registrazione e su come "
  265.             "ricevere una versione pienamente funzionante leggi "
  266.             "la documentazione allegata."
  267.         )
  268.     )
  269.  
  270.     (set #reset
  271.         (cat
  272.             "\n\nQuando questa installazione sarà terminata ricorda "
  273.             "che DEVI resettare il tuo Amiga per preparare propriamente "
  274.             "l'ambiente del ProgED!"
  275.         )
  276.     )
  277.  
  278.     (set #setup1
  279.         (cat
  280.             "Per preparare l'ambiente del ProgED DEVO modificare la tua "
  281.             "User-StartUp aggiungendo il seguente comando:\n\n"
  282.         )
  283.     )
  284.  
  285.     (set #setup2    "Se salti questo passo DOVRAI inserirlo manualmente più tardi.")
  286.  
  287.     (set #setup_help
  288.         (cat
  289.             "ProgED necessita di un assegnamento alla sua directory "
  290.             "principale al fine di funzionare correttamente. Se "
  291.             "salti questo passo DOVRAI inserirlo manualmente nella "
  292.             "tua User-StartUp o in una shell prima di eseguire il ProgED."
  293.         )
  294.     )))
  295.  
  296.  
  297.  
  298.  
  299.  
  300.     (message #intro)
  301.  
  302.     ; sure we are running under a 2.04 ROM ?
  303.  
  304.     (if (< (/ (getversion) 65536) 37)
  305.         (
  306.             (message #badkick)
  307.             (exit (quiet))
  308.         )
  309.     )
  310.  
  311.  
  312.     ; Ask where to install it...
  313.  
  314.     (set destdir
  315.         (askdir
  316.             (prompt #askdir)
  317.             (help #askdir_help)
  318.             (default @default-dest)
  319.             (disk)
  320.         )
  321.     )
  322.  
  323.     (set destdir
  324.         (tackon destdir "ProgED")
  325.     )
  326.  
  327.     (set @default-dest destdir)
  328.  
  329.     ; See whether this directory exists, if so warn the user
  330.  
  331.     (if (exists @default-dest) 
  332.         (
  333.             (if (= 0 (askbool
  334.                     (prompt #overwrite)
  335.                     (help #overwrite_help)
  336.                     (choices #yes #quit)
  337.                 ))
  338.  
  339.                 (
  340.  
  341.                 ; User wishes to quit
  342.  
  343.                 (exit (quiet))
  344.                 )
  345.  
  346.             )
  347.         )
  348.     )
  349.  
  350.     ; Ask user if he wants MagicWB icons
  351.     ; and figure out where pick up icons
  352.  
  353.     (if
  354.         (askbool
  355.             (prompt #havemwb)
  356.             (help #havemsb_help)
  357.             (choices #yes #no)
  358.         )
  359.         (set insticonsdir "Icons/MagicWB")
  360.         (set insticonsdir "Icons/Standard")
  361.     )
  362.  
  363.     ; Prompt for choosed dir
  364.  
  365.     (message #installed @default-dest)
  366.  
  367.     ; Start!
  368.  
  369.     (complete 0)
  370.  
  371.     (working #installing)
  372.  
  373.     ; Create the directory if it doesn't exist
  374.  
  375.     (if (= 0 (exists @default-dest))
  376.         (
  377.             (makedir @default-dest
  378.                 (prompt #creating)
  379.                 (infos)
  380.             )
  381.         )
  382.     )
  383.  
  384.     (working #copyingexe)
  385.  
  386.     ; Install the PED executable file
  387.  
  388.     (copyfiles
  389.         (source "PED")
  390.         (dest @default-dest)
  391.     )
  392.  
  393.     (copyfiles
  394.         (source (tackon insticonsdir "PED.info"))
  395.         (dest @default-dest)
  396.     )
  397.  
  398.     (complete 20)
  399.  
  400.     (working #copyingexeprt)
  401.  
  402.     ; Install the PED_Print executable file
  403.  
  404.     (copyfiles
  405.         (source "PED_Print")
  406.         (dest @default-dest)
  407.     )
  408.  
  409.     (copyfiles
  410.         (source (tackon insticonsdir "PED_Print.info"))
  411.         (dest @default-dest)
  412.     )
  413.  
  414.     (complete 25)
  415.  
  416.     (working #copyingman)
  417.  
  418.     ; Install the Manual
  419.  
  420.     (copyfiles
  421.         (source "Manual")
  422.         (dest @default-dest)
  423.     )
  424.  
  425.     (copyfiles
  426.         (source (tackon insticonsdir "Manual.info"))
  427.         (dest @default-dest)
  428.     )
  429.  
  430.     (complete 30)
  431.  
  432.     (working #crticonsdir)
  433.  
  434.     ; Create icons' dir
  435.  
  436.     (set iconsdir (tackon @default-dest "Icons"))
  437.  
  438.     (if (= 0 (exists iconsdir))
  439.         (
  440.             (makedir iconsdir)
  441.  
  442.             (copyfiles
  443.                 (source (tackon insticonsdir "Icons.info"))
  444.                 (dest @default-dest)
  445.             )
  446.         )
  447.     )
  448.  
  449.     ; Copy all icons
  450.  
  451.     (copyfiles
  452.         (source (tackon insticonsdir "Icons"))
  453.         (dest iconsdir)
  454.         (all)
  455.     )
  456.  
  457.     (complete 35)
  458.  
  459.     (working #crtprjdir)
  460.  
  461.     ; Create projects' dir
  462.  
  463.     (set projectsdir (tackon @default-dest "Projects"))
  464.  
  465.     (if (= 0 (exists projectsdir))
  466.         (
  467.             (makedir projectsdir)
  468.  
  469.             (copyfiles
  470.                 (source (tackon insticonsdir "Projects.info"))
  471.                 (dest @default-dest)
  472.             )
  473.         )
  474.     )
  475.  
  476.     ; Copy all examples projects
  477.  
  478.     (foreach "Projects" "#?"
  479.         (copyfiles
  480.             (source (tackon "Projects" @each-name))
  481.             (dest projectsdir)
  482.         )
  483.  
  484.         (copyfiles
  485.             (source (tackon insticonsdir "Icons/def_Project.info"))
  486.             (dest projectsdir)
  487.             (newname (cat (tackon projectsdir @each-name) ".info"))
  488.         )
  489.     )
  490.  
  491.     (complete 45)
  492.  
  493.     (working #crtclientsdir)
  494.  
  495.     ; Create clients' dir
  496.  
  497.     (set clientsdir (tackon @default-dest "Clients"))
  498.  
  499.     (if (= 0 (exists clientsdir))
  500.         (
  501.             (makedir clientsdir)
  502.  
  503.             (copyfiles
  504.                 (source (tackon insticonsdir "Clients.info"))
  505.                 (dest @default-dest)
  506.             )
  507.         )
  508.     )
  509.  
  510.     ; Copy all examples clients
  511.  
  512.     (foreach "Clients" "PED_#?"
  513.         (copyfiles
  514.             (source (tackon "Clients" @each-name))
  515.             (dest clientsdir)
  516.             (files)
  517.         )
  518.  
  519.         (copyfiles
  520.             (source (tackon insticonsdir "Icons/def_Client.info"))
  521.             (dest clientsdir)
  522.             (newname (cat (tackon clientsdir @each-name) ".info"))
  523.             (files)
  524.         )
  525.     )
  526.  
  527.     (copyfiles
  528.         (source "Clients/DocksImages")
  529.         (dest (tackon clientsdir "DocksImages"))
  530.         (all)
  531.     )
  532.  
  533.     (copyfiles
  534.         (source "Clients/Docks.Prefs")
  535.         (dest clientsdir)
  536.     )
  537.  
  538.     (complete 55)
  539.  
  540.     (working #crtfoldersdir)
  541.  
  542.     ; Create folders' dir
  543.  
  544.     (set foldersdir (tackon @default-dest "Folders"))
  545.  
  546.     (if (= 0 (exists foldersdir))
  547.         (
  548.             (makedir foldersdir)
  549.  
  550.             (copyfiles
  551.                 (source (tackon insticonsdir "Folders.info"))
  552.                 (dest @default-dest)
  553.             )
  554.         )
  555.     )
  556.  
  557.     ; Copy all examples folders
  558.  
  559.     (foreach "Folders" "#?"
  560.         (copyfiles
  561.             (source (tackon "Folders" @each-name))
  562.             (dest foldersdir)
  563.         )
  564.  
  565.         (copyfiles
  566.             (source (tackon insticonsdir "Icons/def_FuncFolder.info"))
  567.             (dest foldersdir)
  568.             (newname (cat (tackon foldersdir @each-name) ".info"))
  569.         )
  570.     )
  571.  
  572.     (complete 60)
  573.  
  574.     (working crtscannersdir)
  575.  
  576.     ; Create scanners' dir
  577.  
  578.     (set scannersdir (tackon @default-dest "Scanners"))
  579.  
  580.     (if (= 0 (exists scannersdir))
  581.         (
  582.             (makedir scannersdir)
  583.  
  584.             (copyfiles
  585.                 (source (tackon insticonsdir "Scanners.info"))
  586.                 (dest @default-dest)
  587.             )
  588.         )
  589.     )
  590.  
  591.     ; Copy all examples scanners
  592.  
  593.     (foreach "Scanners" "#?"
  594.         (copyfiles
  595.             (source (tackon "Scanners" @each-name))
  596.             (dest scannersdir)
  597.         )
  598.  
  599.         (copyfiles
  600.             (source (tackon insticonsdir "Icons/def_Scanner.info"))
  601.             (dest scannersdir)
  602.             (newname (cat (tackon scannersdir @each-name) ".info"))
  603.         )
  604.     )
  605.  
  606.     (complete 65)
  607.  
  608.     (working crtmacrosdir)
  609.  
  610.     ; Create macros' dir
  611.  
  612.     (set macrosdir (tackon @default-dest "Macros"))
  613.  
  614.     (if (= 0 (exists macrosdir))
  615.         (
  616.             (makedir macrosdir)
  617.  
  618.             (copyfiles
  619.                 (source (tackon insticonsdir "Macros.info"))
  620.                 (dest @default-dest)
  621.             )
  622.         )
  623.     )
  624.  
  625.     ; Copy all examples macros
  626.  
  627.     (foreach "Macros" "#?"
  628.         (copyfiles
  629.             (source (tackon "Macros" @each-name))
  630.             (dest macrosdir)
  631.         )
  632.  
  633.         (copyfiles
  634.             (source (tackon insticonsdir "Icons/def_Arexx.info"))
  635.             (dest macrosdir)
  636.             (newname (cat (tackon macrosdir @each-name) ".info"))
  637.         )
  638.     )
  639.  
  640.     (complete 70)
  641.  
  642.     (working #crtcatalogsdir)
  643.  
  644.     ; Create Catalogs dir
  645.  
  646.     (set catalogsdir (tackon @default-dest "Catalogs"))
  647.  
  648.     (if (= 0 (exists catalogsdir))
  649.         (
  650.             (makedir catalogsdir)
  651.         )
  652.     )
  653.  
  654.     ; Copy all catalogs dir
  655.  
  656.     (copyfiles
  657.         (source "Catalogs")
  658.         (dest catalogsdir)
  659.         (all)
  660.     )
  661.  
  662.     (complete 75)
  663.  
  664.     (working crtldir)
  665.  
  666.     ; Create L dir
  667.  
  668.     (set ldir (tackon @default-dest "L"))
  669.  
  670.     (if (= 0 (exists ldir))
  671.         (
  672.             (makedir ldir)
  673.         )
  674.     )
  675.  
  676.     ; Copy all handlers
  677.  
  678.     (copyfiles
  679.         (source "L")
  680.         (dest ldir)
  681.         (all)
  682.     )
  683.  
  684.     (complete 80)
  685.  
  686.     (working #crtsasc)
  687.  
  688.     ; Create SASC_Support dir
  689.  
  690.     (set sascdir (tackon @default-dest "SASC_Support"))
  691.  
  692.     (if (= 0 (exists sascdir))
  693.         (
  694.             (makedir sascdir)
  695.         )
  696.     )
  697.  
  698.     ; Copy all files
  699.  
  700.     (copyfiles
  701.         (source "SASC_Support")
  702.         (dest sascdir)
  703.         (all)
  704.     )
  705.  
  706.     (complete 85)
  707.  
  708.     (working #crtsources)
  709.  
  710.     ; Create sources dir
  711.  
  712.     (set sourcesdir (tackon @default-dest "Sources"))
  713.  
  714.     (if (= 0 (exists sourcesdir))
  715.         (
  716.             (makedir sourcesdir)
  717.         )
  718.     )
  719.  
  720.     ; Copy all files
  721.  
  722.     (copyfiles
  723.         (source "Sources")
  724.         (dest sourcesdir)
  725.         (all)
  726.     )
  727.  
  728.     (complete 90)
  729.  
  730.     ; Copy keyfile if it exists
  731.  
  732.     (if (exists "KeyFile")
  733.         (
  734.             (copyfiles
  735.                 (source "KeyFile")
  736.                 (dest @default-dest)
  737.             )
  738.  
  739.             (set foundkeyfile (cat #thanks))
  740.         )
  741.  
  742.         ; Else, note we didn't find one
  743.  
  744.         (
  745.             (set foundkeyfile (cat #nokeyfile))
  746.         )
  747.     )
  748.  
  749.     (set foundkeyfile
  750.         (cat foundkeyfile #reset)
  751.     )
  752.  
  753.     (complete 95)
  754.  
  755.     ; Copy EnvArc's file
  756.  
  757.     (set envarcdir "ENVARC:PED")
  758.  
  759.     (if (= 0 (exists envarcdir))
  760.         (
  761.             (makedir envarcdir)
  762.         )
  763.     )
  764.  
  765.     (copyfiles
  766.         (source "EnvArc")
  767.         (dest envarcdir)
  768.         (all)
  769.     )
  770.  
  771.     ; Copy Presets' file
  772.  
  773.     (set presetsdir (tackon @default-dest "Presets"))
  774.  
  775.     (if (= 0 (exists presetsdir))
  776.         (
  777.             (makedir presetsdir)
  778.         )
  779.     )
  780.  
  781.     (copyfiles
  782.         (source "Presets")
  783.         (dest presetsdir)
  784.         (all)
  785.     )
  786.  
  787.     ; Copy Handlers' files
  788.  
  789.     (set handlersdir "DEVS:DosDrivers")
  790.  
  791.     (if (= 0 (exists handlersdir))
  792.         (
  793.             (makedir handlersdir)
  794.         )
  795.     )
  796.  
  797.     (foreach "Devs" "#?"
  798.         (copyfiles
  799.             (source (tackon "Devs" @each-name))
  800.             (dest handlersdir)
  801.         )
  802.  
  803.         (copyfiles
  804.             (source (tackon insticonsdir "Icons/def_Handler.info"))
  805.             (dest handlersdir)
  806.             (newname (cat (tackon handlersdir @each-name) ".info"))
  807.         )
  808.     )
  809.  
  810.     ; Updates User-StartUp
  811.  
  812.     (startup "ProgED"
  813.         (prompt
  814.             (cat
  815.                 #setup1
  816.                 "Assign ProgED: \"" @default-dest "\"\n\n"
  817.                 #setup2
  818.             )
  819.         )
  820.         (help #setup_help)
  821.         (command
  822.             "Assign ProgED: \"" @default-dest "\"\n"
  823.         )
  824.     )
  825.  
  826.     (complete 100)
  827.  
  828.     ; Say goodbye
  829.  
  830.     (message foundkeyfile)
  831. )
  832.